Skip to main content

box

Type

keyword

Summary

Used with the textStyle property to specify that a chunk of text in a field has a plain box drawn around it.

Syntax

box

Description

Use the box keyword to emphasize text by drawing a box around it.

The box is drawn in the object's borderColor and borderPattern.

If the text crosses more than one screen line, a box is drawn around each line of the text.

If the text has mixed styles, a separate box is drawn around each style run. For example, if three words are boxed and the last is also boldface, a box is drawn around the first two words, and another box is drawn around the boldface word.

An object or chunk of a field may have the box or threeDBox style, but not both at once.

Examples

set the textStyle of the selectedChunk to box

glossary: property, chunk, keyword

keyword: field, plain, threeDBox

property: textStyle, borderPattern, borderColor

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?